<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<?php echo base_url();?>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>河南大学计算机与信息工程学院后台管理系统</title>
<style type="text/css">
	a{text-decoration:none;color:blue;}
	a:hover{color:red;}
</style>
</head>
<body>
	<table border="1" width="80%">
		<caption style="height:30px;line-height:30px;"><font color="#AE39B"><b style="font-size:16px;">文件列表</b></font></caption>	
		<tr>
			<th width="60%">文件名称</th>
			<th width="25%">上传时间</th>
			<th width="15%">文件操作</th>
		</tr>
		<?php foreach ($file_list as $value):?>
		<tr>
			<td align="center"><a href="<?php echo site_url("admin/edit_file/".$value->id);?>"><?php echo $value->name;?></a></td>
			<td align="center"><?php echo $value->time;?></td>
			<td align="center"><a href="<?php echo site_url("admin/del_file/".$value->id);?>">删除</a></td>
		</tr>
		<?php endforeach;?>
	</table>
	<div style="float:right;margin-right:20%"><?php echo $this->pagination->create_links();?></div>
	<div style="float:left;height:30px;line-height:30px;"><a href="<?php echo site_url("admin/add_file/".$cid);?>">上传文件</a></div>
</body>
</html>